-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
lt(x, 0) → false
lt(0, s(y)) → true
lt(s(x), s(y)) → lt(x, y)
if(true, x, y) → x
if(false, x, y) → y
div(x, 0) → 0
div(0, y) → 0
div(s(x), s(y)) → if(lt(x, y), 0, s(div(-(x, y), s(y))))
↳ QTRS
↳ Overlay + Local Confluence
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
lt(x, 0) → false
lt(0, s(y)) → true
lt(s(x), s(y)) → lt(x, y)
if(true, x, y) → x
if(false, x, y) → y
div(x, 0) → 0
div(0, y) → 0
div(s(x), s(y)) → if(lt(x, y), 0, s(div(-(x, y), s(y))))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
lt(x, 0) → false
lt(0, s(y)) → true
lt(s(x), s(y)) → lt(x, y)
if(true, x, y) → x
if(false, x, y) → y
div(x, 0) → 0
div(0, y) → 0
div(s(x), s(y)) → if(lt(x, y), 0, s(div(-(x, y), s(y))))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
lt(x0, 0)
lt(0, s(x0))
lt(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
div(x0, 0)
div(0, x0)
div(s(x0), s(x1))
-1(s(x), s(y)) → -1(x, y)
LT(s(x), s(y)) → LT(x, y)
DIV(s(x), s(y)) → IF(lt(x, y), 0, s(div(-(x, y), s(y))))
DIV(s(x), s(y)) → DIV(-(x, y), s(y))
DIV(s(x), s(y)) → LT(x, y)
DIV(s(x), s(y)) → -1(x, y)
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
lt(x, 0) → false
lt(0, s(y)) → true
lt(s(x), s(y)) → lt(x, y)
if(true, x, y) → x
if(false, x, y) → y
div(x, 0) → 0
div(0, y) → 0
div(s(x), s(y)) → if(lt(x, y), 0, s(div(-(x, y), s(y))))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
lt(x0, 0)
lt(0, s(x0))
lt(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
div(x0, 0)
div(0, x0)
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
-1(s(x), s(y)) → -1(x, y)
LT(s(x), s(y)) → LT(x, y)
DIV(s(x), s(y)) → IF(lt(x, y), 0, s(div(-(x, y), s(y))))
DIV(s(x), s(y)) → DIV(-(x, y), s(y))
DIV(s(x), s(y)) → LT(x, y)
DIV(s(x), s(y)) → -1(x, y)
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
lt(x, 0) → false
lt(0, s(y)) → true
lt(s(x), s(y)) → lt(x, y)
if(true, x, y) → x
if(false, x, y) → y
div(x, 0) → 0
div(0, y) → 0
div(s(x), s(y)) → if(lt(x, y), 0, s(div(-(x, y), s(y))))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
lt(x0, 0)
lt(0, s(x0))
lt(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
div(x0, 0)
div(0, x0)
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
LT(s(x), s(y)) → LT(x, y)
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
lt(x, 0) → false
lt(0, s(y)) → true
lt(s(x), s(y)) → lt(x, y)
if(true, x, y) → x
if(false, x, y) → y
div(x, 0) → 0
div(0, y) → 0
div(s(x), s(y)) → if(lt(x, y), 0, s(div(-(x, y), s(y))))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
lt(x0, 0)
lt(0, s(x0))
lt(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
div(x0, 0)
div(0, x0)
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
LT(s(x), s(y)) → LT(x, y)
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
lt(x0, 0)
lt(0, s(x0))
lt(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
div(x0, 0)
div(0, x0)
div(s(x0), s(x1))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
lt(x0, 0)
lt(0, s(x0))
lt(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
div(x0, 0)
div(0, x0)
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
LT(s(x), s(y)) → LT(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
-1(s(x), s(y)) → -1(x, y)
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
lt(x, 0) → false
lt(0, s(y)) → true
lt(s(x), s(y)) → lt(x, y)
if(true, x, y) → x
if(false, x, y) → y
div(x, 0) → 0
div(0, y) → 0
div(s(x), s(y)) → if(lt(x, y), 0, s(div(-(x, y), s(y))))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
lt(x0, 0)
lt(0, s(x0))
lt(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
div(x0, 0)
div(0, x0)
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
-1(s(x), s(y)) → -1(x, y)
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
lt(x0, 0)
lt(0, s(x0))
lt(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
div(x0, 0)
div(0, x0)
div(s(x0), s(x1))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
lt(x0, 0)
lt(0, s(x0))
lt(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
div(x0, 0)
div(0, x0)
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
-1(s(x), s(y)) → -1(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
DIV(s(x), s(y)) → DIV(-(x, y), s(y))
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
lt(x, 0) → false
lt(0, s(y)) → true
lt(s(x), s(y)) → lt(x, y)
if(true, x, y) → x
if(false, x, y) → y
div(x, 0) → 0
div(0, y) → 0
div(s(x), s(y)) → if(lt(x, y), 0, s(div(-(x, y), s(y))))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
lt(x0, 0)
lt(0, s(x0))
lt(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
div(x0, 0)
div(0, x0)
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
DIV(s(x), s(y)) → DIV(-(x, y), s(y))
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
lt(x0, 0)
lt(0, s(x0))
lt(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
div(x0, 0)
div(0, x0)
div(s(x0), s(x1))
lt(x0, 0)
lt(0, s(x0))
lt(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
div(x0, 0)
div(0, x0)
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPOrderProof
DIV(s(x), s(y)) → DIV(-(x, y), s(y))
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
DIV(s(x), s(y)) → DIV(-(x, y), s(y))
POL(-(x1, x2)) = x1
POL(0) = 0
POL(DIV(x1, x2)) = x1
POL(s(x1)) = 1 + x1
-(s(x), s(y)) → -(x, y)
-(x, 0) → x
-(0, s(y)) → 0
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))